def agent_i_can_kill_agent_j(agent_i, agent_j, print_attack_number=False):
    # 判断智能体i是否可以击杀j
    agent_i_attack_num = agent_j.health / agent_i.attack  # 智能体i的攻击次数
    agent_j_attack_num = agent_i.health / agent_j.attack  # 智能体j的攻击次数
    if print_attack_number:
        if agent_i_attack_num <= agent_j_attack_num:
            return True, agent_i_attack_num, agent_j_attack_num
        else:
            return False, agent_i_attack_num, agent_j_attack_num

    else:
        if agent_i_attack_num <= agent_j_attack_num:
            return True
        else:
            return False
